package com.halden.TRPG.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.halden.TRPG.common.CodeEnum;
import com.halden.TRPG.entity.MultipartFileParam;
import com.halden.TRPG.entity.RoomFileEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;

public interface RoomFileService extends IService<RoomFileEntity> {
    CodeEnum chunkUploadByMappedByteBuffer(MultipartFileParam param, Long rid);

    boolean checkUploadStatus(MultipartFileParam param,String fileName,String filePath);

    CodeEnum getFileList(Long rid);

    boolean deleteRoomFile(Long rid);
}